<!DOCTYPE html>
<html>

    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>操作日志查询</title>
        <link rel="stylesheet" href="css/reset.css" />
        <link rel="stylesheet" href="css/platform.css" />
        <link rel="stylesheet" href="css/table.css" />
        <link rel="stylesheet" href="js/ui/jquery-ui.min.css" />
        <link rel="stylesheet" href="css/logmanage.css" />
    </head>

    <body>
        <div class="header">
            <div class="u-title">操作日志查询</div>
        </div>
        <div class="container" ms-controller="mainController">
            <div class="cnt-box">
                <div class="u-multiform">
                    <div class="column">
                        <div class="cell">
                            <label>任务单号：</label>
                            <input class="u-ipt" type="text" ms-duplex="taskNo" />
                        </div>
                        <div class="cell">
                            <label>操作时间：</label>
                            <div class="cnt-box">
                                <input class="u-ipt ipt-datepicker" type="text" id="starttime" ms-duplex="startTime" />
                                <span class="split">-</span>
                                <input class="u-ipt ipt-datepicker" type="text" id="endtime" ms-duplex="endTime" />
                            </div>
                        </div>
                    </div>
                    <div class="column">
                        <div class="cell">
                            <label></label>
                            <button class="u-btn small" ms-click="search">查询</button>
                        </div>
                    </div>
                </div>
            </div>
            <div id="logTable" ms-controller="logTable"></div>
            <script type="avalon" id="tablelog">
                <div class="tableWrapper">
                    <table class="table">
                        <thead>
                            <tr>
                                <th>操作组织</th>
                                <th>操作类型</th>
                                <th>任务单号</th>
                                <th>操作内容</th>
                                <th>操作人</th>
                                <th>操作时间</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr ms-repeat-row="sources">
                                <td>{{row.optOrgLevel==0?"总部":"大区"}}</td>
                                <td>{{row.optType}}</td>
                                <td>{{row.taskNo}}</td>
                                <td>{{row.optContent}}</td>
                                <td>{{row.optStaffCode}}</td>
                                <td>{{row.optTime | date("yyyy-MM-dd HH:mm:ss")}}</td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="8">
                                    <div class="pager">
                                        <div class="first-page" ms-click="firstpage" ms-class={{firstpagestyle}}>首页</div>
                                        <div class="pre-page" ms-click="prepage" ms-class={{prepagestyle}}>上一页</div>
                                        <div class="current-page">
                                            第<input class="current-page-num" type="text" ms-duplex="currentpage" ms-input="jumppage" />页
                                            <span class="totalpage">共 {{totalpage}} 页</span>
                                        </div>
                                        <div class="next-page" ms-click="nextpage" ms-class={{nextpagestyle}}>下一页</div>
                                        <div class="last-page" ms-click="lastpage" ms-class={{lastpagestyle}}>尾页</div>
                                        <div class="messageinfo">{{startrow}}-{{endrow}} 共{{total}}条</div>
                                    </div>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </script>
        </div>
        <script src="js/jquery.min.js"></script>
        <script src="js/avalon.shim.sn.js"></script>
        <script src="js/swift-ui-table-1.1.js"></script>
        <script src="js/ui/jquery-ui.min.js"></script>
        <script src="js/ui/jquery-ui-timepicker-addon.js"></script>
        <script src="js/platform.js"></script>
        <script src="js/DataInterface/DataInterface.js"></script>
        <script src="js/logmanage.js"></script>
	</body>
</html>
